
Page({
  data: {
    userStatus: {}
  },
  loadData () {
    const userStatus = wx.getStorageSync('userStatus')
    this.setData({ userStatus })
  },
  toPage ({ currentTarget }) { // 跳转 在职证明0；收入证明1；离职证明2
    const { id } = currentTarget.dataset
    wx.navigateTo({ url: `/pages/webview/webview?url=/dispatch-sign/#/proof&id=${id}` })
  },
  onLoad () {
    this.loadData()
  }
})